package com.aspose.cells;

class zbpz {
   Font a;
   String b;
   int c = 0;

   zbpz(Font var1, String var2) {
      this.a = var1;
      this.b = var2;
   }

   zbpz(Font var1, String var2, int var3) {
      this.a = var1;
      this.b = var2;
      this.c = var3;
   }

   public boolean equals(Object obj) {
      if (obj == null) {
         return false;
      } else {
         zbpz var2 = (zbpz)com.aspose.cells.b.a.zl.a(obj, zbpz.class);
         return var2 == null ? false : this.a(var2);
      }
   }

   public boolean a(zbpz var1) {
      if (var1 == null) {
         return false;
      } else {
         boolean var2 = false;
         if (this.a == null && var1.a == null) {
            var2 = true;
         } else if (this.a != null && var1.a != null && this.a.equals(var1.a)) {
            var2 = true;
         }

         if (!var2) {
            return false;
         } else {
            return this.b.equals(var1.b) && this.c == var1.c;
         }
      }
   }

   public int hashCode() {
      int var1 = this.a == null ? 0 : this.a.hashCode();
      int var2 = this.b == null ? 0 : this.b.hashCode();
      return var1 + var2 + this.c;
   }
}
